#pragma once


// CNewAccountDlg dialog

class CNewAccountDlg : public CDialog
{
	DECLARE_DYNAMIC(CNewAccountDlg)

public:
	CNewAccountDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CNewAccountDlg();

// Dialog Data
	enum { IDD = IDD_DIALOG_ACCOUNT };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	afx_msg void OnCreateAcount();
	afx_msg void OnClickCheckAdmin();
	afx_msg void OnClickCheckFull();

	virtual BOOL OnInitDialog();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	void getPermission();

	DECLARE_MESSAGE_MAP()
public:
	CString m_sUser;
	CString m_sPass;
	CString m_sCodeStaff;

	int m_permision;
};
